

def assert_check(response,status_code,success,code,message):
    assert status_code==response.status_code
    assert success==response.json()["success"]
    assert code==response.json()["code"]
    assert message in response.json()["message"]
def assert_check_tp(response,status_code,msg,status):
    assert status_code == response.status_code
    assert msg in response.json()["msg"]
    assert status == response.json()["status"]
def assert_check_register(response,status_code,status,msg):
    assert status_code == response.status_code
    assert status == response.json()["status"]
    assert msg == response.json()["msg"]


